package com.zxjbyte.yiyi.module.system.service.oss;

import com.zxjbyte.yiyi.framework.common.domain.api.PageResult;
import com.zxjbyte.yiyi.framework.mybatis.service.BaseServiceX;
import com.zxjbyte.yiyi.module.system.domain.entity.OssConfigPO;
import com.zxjbyte.yiyi.module.system.domain.param.OssConfigAddParam;
import com.zxjbyte.yiyi.module.system.domain.param.OssConfigListParam;
import com.zxjbyte.yiyi.module.system.domain.param.OssConfigUpdateParam;
import com.zxjbyte.yiyi.module.system.domain.vo.OssConfigListVO;

/**
 * @Author zhangxingjia
 * @Date 2023/5/11 16:16
 * @Version: 1.0
 */
public interface OssConfigService extends BaseServiceX<OssConfigPO> {

    OssConfigPO getMasterConfigByStorageCode(String storageCode);

    PageResult<OssConfigListVO> list(OssConfigListParam param);

    void add(OssConfigAddParam param);

    void update(OssConfigUpdateParam param);

    void changeMaster(Long id);

    void delete(Long id);
}
